HTMLify
style.css
Views: 17 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | .pulsing-1 { width:20px; height:20px; border-radius: 50%; background:#000; box-shadow: 0 0 0 0 #0004; animation:pl1 1s infinite; } @keyframes pl1 { 100% {box-shadow: 0 0 0 30px #0000} } .pulsing-2 { width:20px; height:20px; border-radius: 50%; background:#000; box-shadow: 0 0 0 0 #0004; animation:pl2 1.5s infinite linear; position: relative; } .pulsing-2:before, .pulsing-2:after { content:""; position: absolute; inset:0; border-radius: inherit; box-shadow: 0 0 0 0 #0004; animation: inherit; animation-delay: -0.5s; } .pulsing-2:after { animation-delay: -1s; } @keyframes pl2 { 100% {box-shadow: 0 0 0 40px #0000} } .pulsing-3 { width:50px; height:50px; color:#dc1818; background: radial-gradient(circle at 60% 65%, currentColor 62%, #0000 65%) top left, radial-gradient(circle at 40% 65%, currentColor 62%, #0000 65%) top right, linear-gradient(to bottom left, currentColor 42%,#0000 43%) bottom left , linear-gradient(to bottom right,currentColor 42%,#0000 43%) bottom right; background-size:50% 50%; background-repeat:no-repeat; position:relative; } .pulsing-3:after { content:""; position:absolute; inset:0; background:inherit; opacity:0.4; animation:pl3 1s infinite; } @keyframes pl3 { to {transform:scale(1.8);opacity:0} } .pulsing-4 { width:60px; height:60px; position:relative; } .pulsing-4:before, .pulsing-4:after { content:""; position:absolute; border-radius: 50%; inset:0; background: radial-gradient(circle 10px,#f85c00 94%,#0000), repeating-conic-gradient(from -30deg,#0000 0 60deg,#f85c00 61deg 120deg); -webkit-mask:radial-gradient(circle 15px,#000 calc(100% - 6px),#0000 calc(100% - 5px) 94%,#000); } .pulsing-4:after { animation:pl4 1s infinite; transform: perspective(300px) translateZ(0px) } @keyframes pl4 { to {transform:perspective(300px) translateZ(150px);opacity:0} } .pulsing-5 { width:80px; height:80px; position:relative; } .pulsing-5:before, .pulsing-5:after { content:""; position:absolute; inset:0; background:#ffb940; box-shadow: 0 0 0 50px; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); } .pulsing-5:after { animation:pl5 1s infinite; transform:perspective(300px) translateZ(0px) } @keyframes pl5 { to {transform:perspective(300px) translateZ(150px);opacity:0} } .pulsing-6 { width:40px; height:40px; position:relative; transform:rotate(45deg); } .pulsing-6:before, .pulsing-6:after { content:""; position:absolute; inset:0; border-radius: 50% 50% 0 50%; background:#514b82; -webkit-mask:radial-gradient(circle 10px at 50% 50%,#0000 94%,#000); } .pulsing-6:after { animation:pl6 1s infinite; transform: perspective(300px) translateZ(0px) } @keyframes pl6 { to {transform:perspective(300px) translateZ(150px);opacity:0} } .pulsing-7 { width: 108px; height: 60px; color:#269af2; --c:radial-gradient(farthest-side,currentColor 96%,#0000); background: var(--c) 100% 100% /30% 60%, var(--c) 70% 0 /50% 100%, var(--c) 0 100% /36% 68%, var(--c) 27% 18% /26% 40%, linear-gradient(currentColor 0 0) bottom/67% 58%; background-repeat: no-repeat; position: relative; } .pulsing-7:after { content:""; position:absolute; inset:0; background:inherit; opacity:0.4; animation:pl7 1s infinite; } @keyframes pl7 { to {transform:scale(1.8);opacity:0} } .pulsing-8 { width:65px; height:117px; position:relative; } .pulsing-8:before, .pulsing-8:after { content:""; position:absolute; inset:0; background:#ff8001; box-shadow: 0 0 0 50px; clip-path: polygon(100% 0, 23% 46%, 46% 44%, 15% 69%, 38% 67%, 0 100%, 76% 57%, 53% 58%, 88% 33%, 60% 37%);; } .pulsing-8:after { animation:pl8 1s infinite; transform:perspective(300px) translateZ(0px) } @keyframes pl8 { to {transform:perspective(300px) translateZ(180px);opacity:0} } .pulsing-9 { width:100px; height:45px; position:relative; } .pulsing-9:before, .pulsing-9:after { content:""; position:absolute; inset:0; background:#000; box-shadow: 0 0 0 50px; clip-path: polygon(-50px -20px,10% -12px,20% 0,calc(50% - 15px) 0,calc(50% - 10px) -20px,calc(50% - 8px) -15px,calc(50% + 8px) -15px,calc(50% + 10px) -20px,calc(50% + 15px) 0,80% 0,90% -12px,calc(100% + 50px) -20px,100% 80%,calc(100% + 10px) calc(100% + 10px),60% 100%,50% calc(100% + 15px),40% 100%,-10px calc(100% + 10px),0 80%); } .pulsing-9:after { animation:pl9 1s infinite; transform:perspective(300px) translateZ(0px) } @keyframes pl9 { to {transform:perspective(300px) translateZ(100px);opacity:0} } .pulsing-10 { display: grid; font-size: 50px; } .pulsing-10:before, .pulsing-10:after { content:attr(data-c); grid-area: 1/1; } .pulsing-10:after { animation:pl10 1s infinite; } @keyframes pl10 { to {transform:scale(1.8);opacity:0} } /**/ body { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); grid-auto-rows: 130px; place-items:center; } * { box-sizing: border-box; } |